{layout name="public:layout" /}
<form action="userEdit" method="post">
    <div class="form-group row">
        <label for="name" class="col-sm-2 col-form-label">用户名</label>
        <div class="col-sm-8">
            <input type="text"  class="form-control" name="name" id="name" value="{$user.name}">
        </div>
    </div>
    <div class="form-group row">
        <label for="email" class="col-sm-2 col-form-label">邮箱</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="email" name="email" value="{$user.email}">
        </div>
    </div>
    <div class="form-group row">
        <label for="mobile" class="col-sm-2 col-form-label">手机</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="mobile" name="mobile" value="{$user.mobile}">
        </div>
    </div>
    <div class="form-group row">
        <label for="password" class="col-sm-2 col-form-label">密码</label>
        <div class="col-sm-8">
            <input type="password" class="form-control" id="password" name="password" value="{$user.password}">
        </div>
    </div>
    <div class="form-group row">
        <label for="password" class="col-sm-2 col-form-label"></label>
        <div class="col-sm-8">
        <input type="submit" value="修改">
        </div>
    </div>
</form>